package com.chainyoung.component_tmmarket.bean;


//websocket 最外层
public class WsMarketAll {


    /**
     * status : ok
     * type : req
     * topic : market.null.market
     * tick : {"btc":{"bit":{"id":7,"last":1,"cny":53378.4576,"aud":10616.3856,"high":"1.00000000","low":"1.00000000","vol":"1.00000000","change":"0.00","is_mark":0},"ltc":{"id":9,"last":0.0123,"cny":656.55502848,"aud":130.58154288,"high":"0.01358000","low":"0.01180000","vol":"12903.01850000","change":"-7.59","is_mark":0}},"bit":{"ltc":{"id":10,"last":0,"cny":0,"aud":0,"high":"0.00000000","low":"0.00000000","vol":"0.00000000","change":"0.00","is_mark":0}}}
     */

    private String status;
    private String type;
    private String topic;
    private TickBean tick;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public TickBean getTick() {
        return tick;
    }

    public void setTick(TickBean tick) {
        this.tick = tick;
    }

    public static class TickBean {
        /**
         * btc : {"bit":{"id":7,"last":1,"cny":53378.4576,"aud":10616.3856,"high":"1.00000000","low":"1.00000000","vol":"1.00000000","change":"0.00","is_mark":0},"ltc":{"id":9,"last":0.0123,"cny":656.55502848,"aud":130.58154288,"high":"0.01358000","low":"0.01180000","vol":"12903.01850000","change":"-7.59","is_mark":0}}
         * bit : {"ltc":{"id":10,"last":0,"cny":0,"aud":0,"high":"0.00000000","low":"0.00000000","vol":"0.00000000","change":"0.00","is_mark":0}}
         */

        private BtcBean btc;
        private BitBeanX bit;

        public BtcBean getBtc() {
            return btc;
        }

        public void setBtc(BtcBean btc) {
            this.btc = btc;
        }

        public BitBeanX getBit() {
            return bit;
        }

        public void setBit(BitBeanX bit) {
            this.bit = bit;
        }

        public static class BtcBean {
            /**
             * bit : {"id":7,"last":1,"cny":53378.4576,"aud":10616.3856,"high":"1.00000000","low":"1.00000000","vol":"1.00000000","change":"0.00","is_mark":0}
             * ltc : {"id":9,"last":0.0123,"cny":656.55502848,"aud":130.58154288,"high":"0.01358000","low":"0.01180000","vol":"12903.01850000","change":"-7.59","is_mark":0}
             */

            private BitBean bit;
            private LtcBean ltc;

            public BitBean getBit() {
                return bit;
            }

            public void setBit(BitBean bit) {
                this.bit = bit;
            }

            public LtcBean getLtc() {
                return ltc;
            }

            public void setLtc(LtcBean ltc) {
                this.ltc = ltc;
            }

            public static class BitBean {
                /**
                 * id : 7
                 * last : 1
                 * cny : 53378.4576
                 * aud : 10616.3856
                 * high : 1.00000000
                 * low : 1.00000000
                 * vol : 1.00000000
                 * change : 0.00
                 * is_mark : 0
                 */

                private int id;
                private int last;
                private double cny;
                private double aud;
                private String high;
                private String low;
                private String vol;
                private String change;
                private int is_mark;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getLast() {
                    return last;
                }

                public void setLast(int last) {
                    this.last = last;
                }

                public double getCny() {
                    return cny;
                }

                public void setCny(double cny) {
                    this.cny = cny;
                }

                public double getAud() {
                    return aud;
                }

                public void setAud(double aud) {
                    this.aud = aud;
                }

                public String getHigh() {
                    return high;
                }

                public void setHigh(String high) {
                    this.high = high;
                }

                public String getLow() {
                    return low;
                }

                public void setLow(String low) {
                    this.low = low;
                }

                public String getVol() {
                    return vol;
                }

                public void setVol(String vol) {
                    this.vol = vol;
                }

                public String getChange() {
                    return change;
                }

                public void setChange(String change) {
                    this.change = change;
                }

                public int getIs_mark() {
                    return is_mark;
                }

                public void setIs_mark(int is_mark) {
                    this.is_mark = is_mark;
                }
            }

            public static class LtcBean {
                /**
                 * id : 9
                 * last : 0.0123
                 * cny : 656.55502848
                 * aud : 130.58154288
                 * high : 0.01358000
                 * low : 0.01180000
                 * vol : 12903.01850000
                 * change : -7.59
                 * is_mark : 0
                 */

                private int id;
                private double last;
                private double cny;
                private double aud;
                private String high;
                private String low;
                private String vol;
                private String change;
                private int is_mark;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public double getLast() {
                    return last;
                }

                public void setLast(double last) {
                    this.last = last;
                }

                public double getCny() {
                    return cny;
                }

                public void setCny(double cny) {
                    this.cny = cny;
                }

                public double getAud() {
                    return aud;
                }

                public void setAud(double aud) {
                    this.aud = aud;
                }

                public String getHigh() {
                    return high;
                }

                public void setHigh(String high) {
                    this.high = high;
                }

                public String getLow() {
                    return low;
                }

                public void setLow(String low) {
                    this.low = low;
                }

                public String getVol() {
                    return vol;
                }

                public void setVol(String vol) {
                    this.vol = vol;
                }

                public String getChange() {
                    return change;
                }

                public void setChange(String change) {
                    this.change = change;
                }

                public int getIs_mark() {
                    return is_mark;
                }

                public void setIs_mark(int is_mark) {
                    this.is_mark = is_mark;
                }
            }
        }

        public static class BitBeanX {
            /**
             * ltc : {"id":10,"last":0,"cny":0,"aud":0,"high":"0.00000000","low":"0.00000000","vol":"0.00000000","change":"0.00","is_mark":0}
             */

            private LtcBeanX ltc;

            public LtcBeanX getLtc() {
                return ltc;
            }

            public void setLtc(LtcBeanX ltc) {
                this.ltc = ltc;
            }

            public static class LtcBeanX {
                /**
                 * id : 10
                 * last : 0
                 * cny : 0
                 * aud : 0
                 * high : 0.00000000
                 * low : 0.00000000
                 * vol : 0.00000000
                 * change : 0.00
                 * is_mark : 0
                 */

                private int id;
                private int last;
                private int cny;
                private int aud;
                private String high;
                private String low;
                private String vol;
                private String change;
                private int is_mark;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getLast() {
                    return last;
                }

                public void setLast(int last) {
                    this.last = last;
                }

                public int getCny() {
                    return cny;
                }

                public void setCny(int cny) {
                    this.cny = cny;
                }

                public int getAud() {
                    return aud;
                }

                public void setAud(int aud) {
                    this.aud = aud;
                }

                public String getHigh() {
                    return high;
                }

                public void setHigh(String high) {
                    this.high = high;
                }

                public String getLow() {
                    return low;
                }

                public void setLow(String low) {
                    this.low = low;
                }

                public String getVol() {
                    return vol;
                }

                public void setVol(String vol) {
                    this.vol = vol;
                }

                public String getChange() {
                    return change;
                }

                public void setChange(String change) {
                    this.change = change;
                }

                public int getIs_mark() {
                    return is_mark;
                }

                public void setIs_mark(int is_mark) {
                    this.is_mark = is_mark;
                }
            }
        }
    }
}
